|
Advanced Software Engineering
|
A simple If Object More...
Public Member Functions | |
| IfChunk (ValueStorage valueStorage, IValue conditional) | |
| Create a new if object More... | |
| IfChunk (ValueStorage valueStorage, IValue conditional, IVerb oneLineVerb) | |
| Create a new if object More... | |
| new void | ExecuteVerb () |
| Executes the chunk if the conditional is true More... | |
Public Member Functions inherited from Advanced_Software_Engineering.Verbs.Flow.VerbChunk | |
| VerbChunk (List< IVerb > verbs) | |
| Create a new VerbChunk with verbs in it. More... | |
| VerbChunk () | |
| Create an empty VerbChunk More... | |
| void | AddVerb (IVerb verb) |
| Adds a verb to the verb list More... | |
| void | ExecuteVerb () |
| Executes all of the verbs in order More... | |
| IVerb[] | GetVerbs () |
| Returns all of the verbs stored More... | |
| string | GetDescription () |
| Gets a description of every verb More... | |
A simple If Object
| Advanced_Software_Engineering.Verbs.Flow.IfChunk.IfChunk | ( | ValueStorage | valueStorage, |
| IValue | conditional | ||
| ) |
Create a new if object
| valueStorage | The ValueStorage for increasing and decreasing the stack |
| conditional | Preferably Value.ValueTypes.BoolValue, if the chunk should execute. |
| Advanced_Software_Engineering.Verbs.Flow.IfChunk.IfChunk | ( | ValueStorage | valueStorage, |
| IValue | conditional, | ||
| IVerb | oneLineVerb | ||
| ) |
Create a new if object
| valueStorage | The ValueStorage for increasing and decreasing the stack |
| conditional | Preferably Value.ValueTypes.BoolValue, if the chunk should execute. |
| oneLineVerb | A verb to execute in a single line |
| new void Advanced_Software_Engineering.Verbs.Flow.IfChunk.ExecuteVerb | ( | ) |
Executes the chunk if the conditional is true
Implements Advanced_Software_Engineering.Verbs.Flow.IVerbChunk.